package com.seed.core.annotation;

import com.seed.core.enumeration.Cascade;

import java.lang.annotation.*;

@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface HasOne {
    String selfColumn() default "";
    String targetColumn() default "";
    String[] condition() default "";
    String selectColumn() default "";
    String label() default "";
    String comment() default "";
    String extra() default "";
    Cascade cascade() default Cascade.check;
}
